% Fused track current location
p_f(:,1) = cart2pol(x_f', radar_loc(:,1)');
p_f(:,2) = cart2pol(x_f', radar_loc(:,2)');
p_f(2,:) = rad2deg(p_f(2,:));
a_i = azimuth_intercepts(:,rate_index)';
delta_f = a_i - p_f(2,:); % will probably not be zero but close

% Target true location
x_t = x_saved(1:2, k-k_appear(min_target)+1, min_target);
p_t(:,1) = cart2pol(x_t', radar_loc(:,1)');
p_t(:,2) = cart2pol(x_t', radar_loc(:,2)');
p_t(2,:) = rad2deg(p_t(2,:));
delta_t = a_i - p_t(2,:); % will probably not be zero but close

% Scheduled location
x_s = fused_tracks(f).x_sched(:,end);
p_s(:,2) = cart2pol(x_s(1:2)', radar_loc(:,2)');
p_s(:,1) = cart2pol(x_s(1:2)', radar_loc(:,1)');
p_s(2,:) = rad2deg(p_s(2,:));
delta_s = a_i - p_s(2,:); % should be zero